package com.houxm.caipiao.service;

public class TestException {

	public static void main(String[] args) {
		System.out.println(Integer.parseInt(""));
		boolean f = false;
		int a = 1;
		try {
			f = method(a);
		} catch (Exception e) {
		}
		System.out.println(f);
	}
	
	public static boolean method(int i) throws Exception {
		if(i==1)
			throw new Exception();
		return true;
	}

}
